package nc.ui.med.print;

import nc.bs.framework.common.NCLocator;
import nc.itf.med.print.IPrintLog;
import nc.vo.med.print.MedPrintlogVO;
import nc.vo.med.print.MedPrtcntsetupVO;
import nc.vo.med.print.PrintParamVO;
import nc.vo.med.print.PrintResultVO;

public class PrintLogHelper {
	private static String beanName = IPrintLog.class.getName();

	public static java.util.Map check(MedPrintlogVO[] arg0) throws Exception {
		IPrintLog bo = (IPrintLog) NCLocator.getInstance().lookup(beanName);
		java.util.Map o = null;
		o = bo.check(arg0);
		return o;
	}

	public static java.util.Map insert(MedPrintlogVO[] arg0) throws Exception {
		IPrintLog bo = (IPrintLog) NCLocator.getInstance().lookup(beanName);
		java.util.Map o = null;
		o = bo.insert(arg0);
		return o;
	}

	public static MedPrintlogVO[] query(java.lang.String arg0) throws Exception {
		IPrintLog bo = (IPrintLog) NCLocator.getInstance().lookup(beanName);
		nc.vo.med.print.MedPrintlogVO[] o = null;
		o = bo.query(arg0);
		return o;
	}

	public static java.util.Map sub(java.lang.String arg0,
			java.lang.String arg1, java.lang.String arg2, PrintParamVO[] arg3)
			throws Exception {
		IPrintLog bo = (IPrintLog) NCLocator.getInstance().lookup(beanName);
		java.util.Map o = null;
		o = bo.sub(arg0, arg1, arg2, arg3);
		return o;
	}

	public static PrintResultVO[] queryBillPrintCount(java.lang.String arg0,
			java.lang.String arg1) throws Exception {
		IPrintLog bo = (IPrintLog) NCLocator.getInstance().lookup(beanName);
		PrintResultVO[] o = null;
		o = bo.queryBillPrintCount(arg0, arg1);
		return o;
	}

	public static MedPrtcntsetupVO[] queryLimit(java.lang.String arg0)
			throws Exception {
		IPrintLog bo = (IPrintLog) NCLocator.getInstance().lookup(beanName);
		MedPrtcntsetupVO[] o = null;
		o = bo.queryLimit(arg0);
		return o;
	}

	public static nc.vo.pub.lang.UFBoolean updateLimit(java.lang.String arg0,
			MedPrtcntsetupVO[] arg1) throws Exception {
		IPrintLog bo = (IPrintLog) NCLocator.getInstance().lookup(beanName);
		nc.vo.pub.lang.UFBoolean o = null;
		o = bo.updateLimit(arg0, arg1);
		return o;
	}

	public static java.util.Map clr(java.lang.String arg0,
			java.lang.String arg1, java.lang.String arg2, PrintParamVO[] arg3)
			throws Exception {
		IPrintLog bo = (IPrintLog) NCLocator.getInstance().lookup(beanName);
		java.util.Map o = null;
		o = bo.clr(arg0, arg1, arg2, arg3);
		return o;
	}
}